package cn.uin.domain.oss.adapter.repository;

import cn.uin.domain.oss.model.entity.HomeAttachmentEntity;

/**
 * @ClassName IFileRepository
 * @Description:文件服务
 * @Author: Administrator
 * @CreateDate: 2025/11/4 17:38
 * @Version: 1.0
 */
public interface IFileRepository {

	/**
	 * 新增附件记录
	 * @param homeAttachment
	 */
	HomeAttachmentEntity saveHomeAttachment(HomeAttachmentEntity homeAttachment);

	/**
	 * 根据文件id查询
	 * @param fileId
	 * @return
	 */
	HomeAttachmentEntity queryById(Long fileId);

}
